package code08_三大特征.test10_多态;

public class Cat extends Pet{
	String breed; // 品种

	public Cat(String name, String sex, String breed) {
		super(name, sex);
		this.breed = breed;
	}
	
	@Override
	public void show() {
		System.out.println("这是一只猫咪，名叫："+name);
	}
	
	@Override
	public void play() {
		System.out.println(name+"正在走猫步。。。。。");
	}
}


